<template>
  <div class="search-container">
    <div class="button">+</div>
    <div class="input">
      <input type="text" placeholder="请输入关键字..." />
    </div>
  </div>
</template>
    
<script setup lang='ts'>
</script>
    
<style lang="scss">
.search-container {
  display: flex;
  height: 60px;
  background: #d3d3d3;
  align-items: center;
  justify-content: center;
  padding-left: 10px;
  .button {
    width: 40px;
    height: 40px;
    background: #1e90ff;
    padding-left: 0;
    border-radius: 5px;
    font-size: 30px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    cursor: default;
  }
  .input {
    flex: 1;
    height: 36px;
    padding: 0 10px;
    input {
      height: 100%;
      width: 100%;
      border: 1px solid #ccc;
      border-radius: 5px;
      outline: none;
      &:focus {
        border-color: #ccc;
      }
    }
  }
}
</style>